package ru.kisa_wst.DB;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;

public class SQLHelper {
	private final static String JDBC = "org.sqlite.JDBC";
	public synchronized Connection getConnetction(String dbName) throws ClassNotFoundException, SQLException{
	    	Class.forName(JDBC);
			return  DriverManager.getConnection("jdbc:sqlite:"+dbName);
	}
}
